package high.concurrent.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 跨服务调用-用户DTO
 */
@Data
@ApiModel
public class NewUserDTO {


    /**
     * 用户id
     */
    @JsonProperty(value = "user_id")
    @ApiModelProperty(value = "用户id", example = "1")
    private Long userId;

    /**
     * 用户名称
     */
    @ApiModelProperty(value = "用户名称", example = "张三")
    private String name;

}
